###############################################################
# Values, Taboos, and Votes: 
# How Basic Human Values Affect Populist Electoral Support
#
# Swiss Political Science Review
# Ugur Ozdemir, Marc S. Jacob
# 2021
###############################################################

TABLE OF CONTENTS:

1. "main.R": the R code to replicate the results of the article
2. "suppl_1.R": the R code to replicate all results of Supplemental Material B & E
3. "suppl_2.R": the R code to replicate all results of Supplemental Material D
4. "SEM_tables.R": Assings labels to variables and prints SEM tables (based on output of "main.R" and "suppl_1.R")

DATA: 

5. "ZA6804_v6-0-0.sav": Short-term Campaign Panel (GLES 2017) dataset Version 6.0.0 (can be downloaded at http://dx.doi.org/doi:10.4232/1.13150)

SESSION INFO:
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] stargazer_5.2.2   forcats_0.5.1     stringr_1.4.0     purrr_0.3.4       readr_2.0.2       tidyr_1.1.4      
 [7] tibble_3.1.5      tidyverse_1.3.1   semTable_1.8      pracma_2.3.3      gridExtra_2.3     ggplot2_3.3.5    
[13] car_3.0-11        carData_3.0-4     memisc_0.99.30.7  MASS_7.3-54       lattice_0.20-45   lavaan_0.6-9     
[19] foreign_0.8-81    data.table_1.14.2 dplyr_1.0.7 